Fixes on migration functions
Merge branch 'Migration' of https://github.com/Benglin/Dynamo into Migration
Merge pull request #11 from ellensi/Migration

Fixes based on line comments