Fixed bug with creating commands post initialization