Fixed script and fix graph object visuals