enabled optional modules and better log file