Added complete open/close commands