network robustness improvments. Dynamic applescript execution from json requests.