modified command for creating directory