checks for presence of google maps before running distance scripts