Rewrite second script in bash