Stole a lot of this from [atom's scripts](https://github.com/atom/atom/tree/master/script) to be honest. Just trying to roll with some people smarter than me :wink: