edit template for macro
add hooks for directories cleaning and try to generate a valid configuration for icinga