slightly modified scheme for passing sample name to cross section code