add an echo before path collecting