Added command execution and example docstring