add the pyhton code for generating the abstract