Updating settings for deployment

added 404, 500; turned off debug