Added open/close commands