this is so we can use the script from the cli too!
Make deploy.py a little cleaner.