Add directives to project file