adding linear graphing script