abstracted some of the definitions in evalScript, added some output helper functions, and added some output to several evalScrit definitions