modified the paper writing/compiling scripts in the doc/ directory.