The sentence was difficult to understand as it existed. There were several details in one sentence. I separated the details into separate sentences and added an extra paragraph to group the related details.