Added a check so triggers wont trigger multiple times. This needs to be better...