Added url encoding and better install file