Modified to use hosted openlayers