script for getting historical price data, and updating import