add redis control script.