changed retries to 10 to workaround permission problems