script reference corrected