- Added some lines to measure the time taken to gather metadata