wrapped scope in lambda
Merge pull request #52 from kylesuss/migration_fix

wrapped scope in lambda. omg works so good.