Script for tracking purchase and shipments