DRY up preserving env. variables in installer
formating for installer