Implement concmd function

Closes #119
Merge pull request #120 from Xandaros/iss119

Implement concmd function