Fixed some minor bugs, added getResults.scm