Implement command execution