Got directives working