Improved scripts and their documentation
Fixed persistence service xml files