Changed to production mode, included error pages