Fixing persistence pom file and scripts