update changes to standalone script