The script pullinitialsitefromsource has been made more generic and helper files have been added.