modified with settings and classpath