add uspport for windows and OSX