moves productions settings off of debug mode
moves productions settings back on  debug mode else 500 error