change resource directory