Replaced RegionManager by App in functions.js