read from rc files as well