Externalize exec file