Move resources header + ensure a leaflet or profile must exist before display