re-addng directives code