fixed a bug: time between screenshots was harcoded by mistake