added support for using the one script for both old and new externals sdks