Add security for scripts