script use by pacemaker