Script to parse Safari and iPhone Internet History