Adding redis enabled check and renaming 'payload' to 'data'