changed flask settings from production to deployment