Initial commit of rewrite
Remove console trace
Run  upon template completion
Handle child process errors gracefully