Better way to control script. Doesn't run unless file with items is older than 5 minutes.