add 'exec' command to run a command in a target's environment