linting, better init logging, updated directory access