adding wagtail