build script cleaned up. only works for java though
build script cleaned up. only works for java though