Modified the code so that the old strings (from the previous Java sims) are more compatible with this version of the simulation.