Change to fix opening and closing project