v1.0.1 - refactored CSP; added array

Refactored for CSP and added array.