Add pulling functionnality for restart command