take apart inline scripts.