add requires for directory