changed dyalog template to use rundyalog

instead of runapl
added support for tpp