set hostname to "localhost" if local parameter was added
set local parameter to var
Merge branch 'develop' of github.com:bendisposto/prob2 into develop