utils and usersetup.py

utils and usersetup.py changes