Added optional support for -h host in connection with -f