moved triggers to text file