pets: @WIP add migration script from old to new system (not working)