modify script for vendor set