Initial commit of very bad messy script