Fixed naming issue.(can now make up to 100000 pictures, because of naming conventions)