external-command constructor added