added logic to prevent 5XXX numbers from being being included in evg output