Fix deploy script syntax error
Fix environment variable references with braces