Added more flexibility in commands and added "distance scores"