adding chaincert script to project