Adds install script with logic to determine if release build