Refactoring load_data deployment script.