Adding support for overwriting rc host

see #129 and #161