don't hardcode the output path for upload_top.py