prepare for running sanity.sh and uploading if it works