Adding batch script generation