adding command

Fixes #1233