bash script mod