Create directory with same functions