Refactor of utils
Added _prefix_env and _prefix_name in plugin.py