Adding localhost exclusion directly into the script