More code cleanup and removing unsupported chars.
Lowercased variable for normal cased page extensions.