Copied internal script into github repo.  Added variables for db username, password, database and htdocs path to make script more modular.
Readme documentation