Added On Error Goto 0 to to keep error trapping on only in the script