added some comments. makes directory to backup to if it des not exist
makes file if it does not exist. added variable for number of snapshots
remove the unset path and added the absolute paths to executables