Script bug fix.