I'm pretty sure the second link does not work
I kinda stole this from someone but they took the original project down