Adapt start script for use with gunicorn

1. Add logs about missing deployment config
2. Only run app in application when it's executed directly;
do not run at import time