Added pause feature to batch run
Added pause feature to batch process