Added exit option to generate load