valgraph script