Merge pull request #5 from fsalum/master

adding auto_accept to template