import java.game.parts.bodypart.*; //add this line at the top of the script after the package line

//Replace the following lines.

			if (tab = the_car.getSfxTable(0))//VG30 on
			{
				tab.clear();
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000036r), 971,   500, 1259, 4, 4);//on1
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000037r), 1259,   971, 1649, 4, 5);//on2
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000038r), 1649,   1259, 3648, 5, 6);//on3
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000039r), 3648,   1649, 5210, 6, 7);//on4
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x0000003Ar), 5210,   3648, 6795, 7, 8);//on5
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x0000003Br), 6795,   5210, RPM_limit+100, 8, 9);//on6
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x0000002Fr), 7000,  RPM_limit-600, 18000.0, 9, 9);//limiter
                                if (dynodata.P_turbo_waste != 0)
				{
                                	tab.addItem(new ResourceRef(addon.Sounds.PureSound.General:0x00000014r), 8000, 3500.0, 18000.0, 1.0, 1.0);//spool
				}
			}
			if (tab = the_car.getSfxTable(1))//VG30 off
			{
				tab.clear();
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000030r), 971,   500, 1259, 4, 4);//off1
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000031r), 1259,   971, 1649, 1, 2);//off2
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000032r), 1649,   1259, 3648, 2, 3);//off3
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000033r), 3648,   1649, 5210, 3, 4);//off4
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000034r), 5210,   3648, 6795, 4, 5);//off5
				tab.addItem(new ResourceRef(addon.Sounds.PureSound.Nissan:0x00000035r), 6795,   5210, RPM_limit+600, 5, 6);//off6	
                                if (dynodata.P_turbo_waste != 0)
				{
                                	tab.addItem(new ResourceRef(addon.Sounds.PureSound.General:0x00000015r), 9000, 3500.0, 18000.0, 0.375, 0.375);//bov3

				}
			}
			if (tab = the_car.getSfxTable(2))
			{
				tab.clear();
				the_car.setSfxExhaustMinVol(0.9);
			}
			SFX_ignition = addon.Sounds.PureSound.Nissan:0x0000003Cr;
			sfx_starter_rpm = 500;
			Part car = getCarRef();
			if( car instanceof Chassis )
			{	
				((Chassis)car).SFX_ignition = SFX_ignition;
				((Chassis)car).sfx_starter_rpm = sfx_starter_rpm;
			}