Refactored

moved the removal of the live site information into a private method
Refactored

Moved the removal of the site's absolute path into a private method