used better default for log4j.properties and change the ownership of the files by default