Added gendict to utils
Added commands to utils.py