modify rc file