refactor + adding a little backup all leads script example