Run all commands for all templates before return errors