add migration script to update from legacy themes.