Thanks for the response, what do you mean the configs are not trimmed. Something similar to the java .trim() function? String.trim()?
Why won't it just look for the line of code where secure-server$ is the end of it I don't understand? Thanks so much for the reply though