Make flask ready for deployment (don't break create page)