Just tax everything the amount it costs to clean up the pollution it causes, then use that money to clean up the pollution, now everything will have the correct price including externalities