script to organize paper repository