Modified the script to work with cron and rrd. Working graph output