download index into local folder