The Scottish government is taking action against polluting vehicles.