initial hacked together script to start and stop app on a chromecast