added archive delete and photo generation