script to extract abstract and body