Fixed command execution