Scripts for automatic templates generation