Updated contact migration script