added number of backups to the script