Jacket melt five-way valve