Applying Security Measures In Scripting