Added configurable resource path.