Updated shell to use safer command array option.