Updated remote-bash script to use new parameter parser