Linux distribution script fixes