Update utils.py

Support for both addons and startup installation.