Writing my own Scripts with RRD