more logging
fix configure script