add new logging
more cleanup
show cmd output at INFO and fix atomic dir check