Code now works as a module
Function name now PEP8 friendly
imports should always be at top of file

[Now I know!](http://stackoverflow.com/questions/27460019/)