Refactored Backup Script & Introduced Factory