Modifying some scripts to make it work! things work differently with nodejs..