add some default directives etc