Move some code to the my_utils.py module