How to write scripts for multiple config changes/backups.