Batch Mode working (except headers)