Feliun: added subset to manipulate redis and keys removed before the script inserts them