merged dshttp, organized variables