requirements for directory command