reorganizing -- getting ready to turn this into a process so that it does not
block when run in the rcS script.