added batchscript