updated configuration file + template security