Attempting to fix subshell