I'm trying to make a script that will switch between my laptop display and an external monitor in either a cloned mode; external only; or as a dual monitor setup. The script works insofar as I keep it ...