Inline scripts handling changed