added removescript call to VipAPI