public dir creation introduced to newmodel an base model conditional structures to avoid no found directory error on create command