trying to fix upload-to-server, work in progress, contains pdbs.