move config_hash to params