generate the dataset template dynamically

Signed-off-by: Miguel Angel Gordian <miguel.angel@codeandomexico.org>