Perl scripts to monitor and record an ELK-M1