created a array insertion script