Added path autodetection for backend
Added path printing