Add redcode logic to salt-call