os-release checking to the end