Reverted change to if statement
Added Bufferlistclose command