scripts to access ensemble api via Perl