Swapped out print statements for proper logger logs