won't this need a ".bat" on windows? Maybe its easier to call into the .js?