configure for local doc viewer