Updated script and logs for graphs