Rewrite script.
New version allows both tagged and nightly builds.
I was not easily able to clean up the previous messed up repo, so I just deleted it and started over.
Please pull my "new_script" branch into the master. As of right now, it says "able to merge" and "can be automatically merged".