Use exec to eliminate extra shell processes