housekeeping c scripts