Node app - shutdown and restart command
Logic change