change exec mode