add a read-from-stdin feature to some scripts