Makes directory work with changes in seantis.dir.events