Improve WSGI file for apache deployment/database configuration management