Fixed a minor bug with a mv -r that does not exist, and tee -a and -h bash if check