set the time before changing it, so the order of the screenshot will be consistent whenever we run it