improve exec-code, add tests
exec-code configuration