updates backup.sh and bash functions