fix vendor script