Added open/close curtains functions.