Many changes especially to the nodejs script