download the keys automatically