Update interacitve.py
  - Add a method to run predefined commands.