make connect root arg an arrat.
clean up toggle script