Fix directives file