added comments, continous graph, insert script