making mapping layers more adaptable to file location