script to switch to dual-screen mode