Add conditional assignment for soloirst and cheffile urls