Script to automate migration testing