added * to extglob for hostnames to handle .local, etc