sorted out the directives as external files
sorted out the directives as external files