clearer comments

changed log level to debug
generated config file should not be group readable