maxProj create automatically directory

!!! still buggy