Added missing bracket for Apple script.