Added automatic RRD file creation.  Also added exception handling