improved the batch bench file and made critical changes