#187: track script, and remove last 'cd' in subshell command