implement ScriptCCBReader, not tested yet