removed unused method; fixed build scripts