Add tracking to script