Fix to export app for gunicorn