Prepare ptrs,ranges,dynamic and static intrs, a records for migrations
Fixed extra _ in kwargs
Migrations almost complete, some range usage is being calculated when it shouldn't though