Fix copying settings file on server