Fix getAreas script