Fixed a few bugs I introduced this morning when converting hard coded text to variables.