Added option to redraw wavepath