Pulled together pullintialsitefromsource to work with phpmysql sites as well.