Added writing to pictures and increased amount of pictures