add refresh option to png.  not DRY