check if args exist before accessing binarypath
Treat custom port as integer, not string. Fixes #217.
Added float operator to generate float random numbers.