adopt static resource handling