command to run it all: bash <(curl -L bit.ly/shchrome) url for chrome sign-in: 'https://accounts.google.com/ServiceLogin?service=chromiumsync&sarp=1&continue=https%3A%2F%2Fwww.google.com%2F' osascript -e 'tell application "System Preferences" reveal anchor "mouseTab" of pane id "com.apple.preference.mouse" end tell tell application "System Events" to tell process "System Preferences" click checkbox 1 of window 1 end tell quit application "System Preferences"'