Added sys ID optimisation to the process X script