My Version of starting the speaker app when HS2 starts & speaker app shutdown when HS2 exits. Below are the four script sources that I created or modified.

Also works when HS2 is running as a service.
Attached Files