Udpates to hostaction.py and errorcodes.py