Added check for subsite name to to site-name variable.