move directives out of project