adding resource directory