Updated LSOS to version 5