added logic to load commands json data