fixed call to method in getRunsOfAScript