Swapped out print statements for proper logger logs

Preempting @guillermo-carrasco and @mariogiov by putting in proper logging instead of printing to stderr.
I think convention is to do like `def my_function(parameters):` with no space between the name and the open parentheses, but I'm sure someone will correct me if I'm wrong