add support for block commands and remote console commands