sthapa - Updated to check node platform and use httpd or apache2 based on platform variable