Added script to calculate survival data