Works well on error etc.

close #4
Fixing code issues
Version 0.1.1
Packaging version in filename