scripts for batch submission