modify script for vendor version