added condition for linux