Added bot replacement capabilities.