Working command handler.