fixed script ref