Switch to string replacement
Add 'java' plugin so that install task doesn't shit the bed
Sources etc. are now configured by script