refined the script for site/create