Swapped out print statements for proper logger logs

Preempting @guillermo-carrasco and @mariogiov by putting in proper logging instead of printing to stderr.
Same here with the `enumerate()` business of course