added posibility to add conditions to an archive
added archive conditions