add few missing options.
make use of templates dir option!