download and apply