Updated stock script