starting te capture script