Autotags and ag file_rec fix