fixes to urls and add events to settings.py