Refactored resources location