Shell exec takes over HOME and USER var; minor refactoring exec