migrate script for advanced_params.