Organizing and explaining nci scripts