Move the migrate script to the scripts directory.
Minor style fixes.
Add docstring.
Deploy the script during installation and add a more descriptive help
text.