Idling rough and smoke... help

Another thing to check is if the distributor has come loose. If you can twist it by hand it’s too loose.