adding migrations and scripts