updating init script and gh_repo.sh contributed script (both updates are from sbadakhc)