Adding windows slave code