Fix broken parts of rc files