make templates ready