Added pid definition for node app