Batch rendering script fix