Fix scripts refer