added 500 template and disabled debug features