Adds cwd to extract db to correct path