Add version flag to ok.py
Revert "Remove upload_template.py and upload_version.py"

This reverts commit c09a1d9a57f3c00e855e7bc9ef758dc2a04c5b51.