Started moving code to export info into a new file.