changed order for /scripts/vendor logic