Added the code for the flow of the script.  Syncing, checking, backing up, activating and emailing