Updated run script and betting logic.