use full paths in templete

Now it is impossible to run application outside the dir because used relative paths. Change them to full paths