updating SDKBuilder script with new fixes and export functionality