Working version, beginning of script for graphs.