graph scripts