added cgi script for migrate test