Fixed main if/then

Added additional info to readme.  This will update exisitng installs.
Merge pull request #2 from CGauss/master

Fixed some coding