modified create site script