switching upload script to GUI