Add methods for windows and linux separately