fixing export link; migration script