add migrate to script.
Merge pull request #22 from wata-gh/add_migrate_to_script

add migrate to script.