Refactor publish script to improve flow and organization
Refactor publish script to improve flow and organization

Make function names more descriptive and modular.
Break long functions down into multiple functions.

opencolorado/OpenColorado-Tools-and-Utilities,mia1rab/OpenColorado-Tools-and-Utilities