added site name option and related function