Add OS Check

Add OS Check using If statements
TO BE CLEANED!