Move directives to MAIN conf