Fix an issue with overlay impressions

overlay.impression gets buggered by advanced compilation, so use overlay['impression'] instead
duration could be buggered as well, so change it