Use local getResourcePath method