script based redis interface