Refactored subshell to use parameter again.