support for exec mode