renamed console to log and removed Modes