refactor to only create tmpjar for execution