added macro for directory where required