Create Picture on Trigger.groovy

Picture is taken when there is a trigger