Added function mkcd.