Added updated functionality to directory