enabled aliases in examine command and cleaned up response to invalid commands