The script

I wrote this over the course of a day. :) Probably going to add some stuff later.