distribution event migration script