Added capability of specifying host on commandline