Reverse Packaging Machine Automation