high level shell for templating