Changed debug_mode to False