fix: create dir proper func
fix: proper environment override support