Python scripting security