removed shell command redundancy