/list command working properly