Modified cmd script