trigger script changed to static call