migrating plugin stuff