adds check to download repo vs clone
builds scripts