Adds `const` and `show` flags to `exec` directive