removed commands in favor of checking for stdin