working on COG support & removed batch script support