updates SCPscript.sh to wait for scp to complete before moving file