migrate script working for all but studies 2810 and 280