Changed process_paper.sh to be callable from any directory.