Fix initial conditions in line tool