change parameters location for the choice of mode and model