Refactoring to launch the soap monitor through a script