make bin file usable with global npm installation, closes #21