Added a check for valid installation. Closes #3. Updated README to reflect these changes.