migration script for loco