Maps work again

Made the necessary changes to get maps to work again!