set 'shelltemp' before executing shell command