added script to build paper