fixed run.sh for GHA, increased wait retries for server, and fixed bug casting function
3 files changed