cleans out print statements, changes redirect to the list rather than results of measures