Programatically Changing Background

I have an automation that downloads an image to use as background everyday. It works however I have problems with the previous image being cached in the browser and not changing the background when the image changes. Is there anyway to get around this and ensure the background gets updated when the image changes?