making daemon executable with npm