Handle internal and external args