Added functions for making and directories