better default parameters and better log messages in building