[Pranav] Changed migration script to accomodate engagement fields.