modified create a new site code