about to clean up graph script