Script can now handle multiple containers