updated project to support enableReaderMode