logging + dependency cleanup