move directives into standalone file