Added (but commented out) OS opening code