Improve rcfile to be host based