Added remove, open and close commands