Added mkdircd fn