new create_site function