Resolved subshell issue