Fix settings enabled setting. Also, set DEBUG variable to false.