Added an automatic batch run script