change csp sandbox arg from array to globals