Fix for case-sensitive URLs. Made all internal URLs lowercase.