Add support for rcfile