Script 'script' is receiving input from a pipe