Smith to run for state's attorney in primary