Fix bash scripts