improve run-agent-demo.sh, get version from pom
improve log