framework added for script nonces