template for spark run script