support for local resources