modified scripts for paper3