Fix location of first slide switch; other minor changes in script.