Add applescript in text format