scripts for C4K analyses