Add OS check and documentation