comment args, check main template before running auto template action