migration script for specialization