Text this: Optimal Stockpiling Policies for Resource - Dependent Economies