Added gate triggers for Purification machine