move sourcing to one place in installer