Changing directives and adding flags