Run commands using specified environment variables