fix upload script, and get it installed