Added plot pause for correct display