import webnotes def execute(): webnotes.reset_perms("Custom Script")