Made script read from STDIN, if config_file parameter has been omitted.