pass directories on cli, support for rc files