Initial commit

Switched from a gist as it seemed to delete things occasionally