classpath changes and improved exception logging