More bash script fixin