add resource directory