added code to remove old backups, removed /tmp/