Modifying syntax for bash prepublish.sh file