added capture script