made it executable in non-window enviroment (like node.js)