Replace Perl version with Bash version