Initial working commit

Crudely but working script, and with a decent description even.