Implemented hostmap hotswap TODO in dispatcher.py