Update bashlib and create backup script.
Merge branch 'master' into major-refactor