made some changes to os specifcs