adjust app settings for flask