Fixing some changes in the App.urls method.
Fixing typo with indexOf