Update standalone script with opts changes