added ability to run when not in a chromecast