preview inline script