added check for processes to backup script.