Set rack environment