execute shell commands with trigger