Trial 1 at letting this stuff be automated
Trial 2
Trial 3
Merge pull request #4 from r4v5/master

Make this a bit easier for automated testing