rrd script