auto create directives in run block