Fixes #255 migrate script nip to id