script to clone container