Automation script for container duplication