added root prompt change, archive functions