Added command filter for whitespace removal