A basic listener for command execution