Added open/close commands

This is mostly a test.