better vendor script