optimize GenerateSitePath function

change wrong file names