Rc.local fixes