added linux check for slaves