Adding configuration to use classpath or not