fix redis script