Fixing bugs in deploy files

All deploys went to production *and* the named stage, if one was named.