So I have a node.js script that captures users keystrokes in the terminal. it works just fine when i call it from the command line, but when i call the script from a bash script