Create reg_capture3.pl