Added configPortfolio for globals