This is a pretty simple patch, designed to allow %remotehost% to expand to the target address, so that local logic can be applied to the remote host. This is especially useful for things like remote destop u/p lookups.
It is applied against the CVS version around 01-Mar-2010.
Patch to add remote host passing to commands