Fix the variable names in prepublish.sh