Fix passing of arguments to script
* only show usage message when no argument was passed
* fix default timeout of 1000ms
Add new lines to files