refacotor resource paths