added logging to show pwd and directory information during installation to aid debugging