fixed bash scripts