Added auto save template file when import packages