if the provided path in the config file has a space the script will fail. The path in the scripts need to be "" (commented): "$fastq_directory"