check licenses and activation before execution