Some details and fixes for automatic installation