Issue #474
- Cleaned up save function code

Issue #475
- Added headers for coprocessing