Fixing escaping issues and adding new applescript files