Improved open command