create graph scripts
added year, use id and label