adding text version of jxa script