modify cmd script