Changed a variable in the script to use ${<variable_name>} instead of $<variable_name>