Fixes to baseline. Local fitting is only working in interactive mode.