added trigger script