Added adlicense command to the adjoin function.