Debug Update

Close out loops and statements, split not join array