fixed a router issue and added paper upload.