fixed variable names in deploy script