Added Slide extraction to Publish button