list_directives working