process directives