run 1 applescript rather than many execs
moved stuff around