updated white migration scripts to include building history