changed settings to work in production