changing how the resource path is figured out