Added exit flags