Corrected the checkout mechanism on the track script