Changed the order of launching pacemaker.