scripts for batchs