modified mkdir option