added checksum, modified build scripts