adding record module event parser python code