Added time logging for profiling and corrected minor issues in PATHs