Better Processing of MODE and FLAGS