[#5703] Add ScriptTask class and convert refresh-all-repos.py to be runnable as script or task
[#5703] re-apply LCD changes to refresh core logic
[5703] Fix arg parsing and add test