added support for multiple versions of neo4j