Debugging the scan_cron, added some new documentation as well.  This script should become a Python or Ruby script.