Adding a node bin script for calling this logic from a command instead of library