Write CheckCommand
Add check command