Added triggers for attaching sketches