Clarified URL matching
Modernized sed, always hide session field