Updated to do 4000 pics