Bash and Perl scripts