Fixed classpath and log4j in script