A set of scripts to restructure a portfolio.