script for initialize nodejs server updated