changed autofr routine a little
Merge pull request #195 from sarakha63/development

changed autofr routine a little