preparing Bash and Perl flavors