uploadImageDrop.sh and port magic fixes