Creating and deleting triggers by script