Slight fix to the uploader script

removed an unused import and made the exit actually do anything.