betting script fix