Add template and date base