updated smoke function to include the factory, blink animate also added