added D2Utils:addMasterToBaseName