finalized work on after migration scripts