scripts for pacemaker