Breaking this into parts for easier re-run of anything that might fail.