Shell scripts to execute commands in isolated environments