Added cell migration scripting code