It would be easier if you told us where line 82 was rather than make us count lines. CODE tags would be nice too.

You are missing a return on:
Code:
IF INGROUP("UsersHS")
$SiteServer=$Sanddevil3
$SiteExt="HS"ENDIF