[PR] Update handling of scripts in child theme