Implement command "do"