Set up PATH environment variable before launching scripts or executing a run command.
Add code to execute some calls out of a shell to avoid issues in
some setups.