made open command configurable