put command to restart inside execute block