House keeping and added ~/.rc.d/{profile|rc|login|logout} support