Implement the MODE command