changed resource paths relative to current path instead of root