fixed portfolio script