changing config to run from the python file directly and adding gunicorn