Add Child PL/GLs
Change for loops to While loops for performance.