migration script implemented