Write check command
Set default command