added support for command loading
added support for command loading