Adding support to run a grant on a remote host

This fixes #43