The script is already functional
Look at
Lick your Screen.com but I have to make an installation file. Something that will create the DB, set up permission etc...
It's also ready to work with thumbs.
I guess I'll have to check up the gnu licence thing.