fix tast analysis for loaded scripts