updated storetrainlist code to capture all the urls in a single run