Update upload.pl

2 update, make way to get choice of type links in --configure