making the java package differ based on OS family
changing the defaults to a usable url
paramaterising the username and group based off the different osfamily variable