adds custom directives