modify script for vendorsetup