Added the support for remote hosts for deploy related commands