Migrate BD
Remove old migration script
Fix windows pattern match on windows