getting rid of extra print, adding the client input from pdf
allow both a lower case and uppercase stop to STOP