change how spex batchfiles are made