added scripts for data cards and plotting