implemented .rc config file loading