static resource cleanup and integration