Fixed issue. Functions were reversed. 

Was reading in the write section and writing in the read section.