modifying prepare script data
fixing minor java errors
changing prepare data to fix minor error as Web Service returns a double value instead of an integer
alligning connecting objects